From c21dd92b58b9948795453672107b79f0dc3c2086 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 1 Dec 2009 13:48:48 +0000 Subject: [PATCH] libxenlight: allow domain to publish its suspend evtchn Allow domain to publish its suspend event channel. Otherwise, the fast event-channel-based suspend path is disabled. Signed-off-by: Andres Lagar-Cavilla --- tools/libxl/libxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index 2c5d430c1e..7aa0dd349f 100644 --- a/tools/libxl/libxl.c +++ b/tools/libxl/libxl.c @@ -82,7 +82,7 @@ int libxl_domain_make(struct libxl_ctx *ctx, libxl_domain_create_info *info, { int flags, ret, i; char *uuid_string; - char *rw_paths[] = { "device" }; + char *rw_paths[] = { "device", "device/suspend/event-channel" }; char *ro_paths[] = { "cpu", "memory", "device", "error", "drivers", "control", "attr", "data", "messages" }; char *dom_path, *vm_path, *vss_path; -- 2.30.2